package cn.itsource.pethome.mapper;

import cn.itsource.pethome.domain.WxUser;
import cn.itsource.pethome.query.WxUserQuery;
import org.apache.ibatis.annotations.Param;

public interface WxUserMapper extends BaseMapper<WxUser, WxUserQuery>{

    /**
     * 通过openid和unionid查询WxUser
     * @param openid
     * @param unionid
     * @return
     */
    WxUser findByOpenidAndUnionid(@Param("openid")String openid, @Param("unionid")String unionid);

}
